package com.chen.securitydemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.view.RedirectView;

@Controller
public class PageController {

    @RequestMapping("/page")
    public RedirectView login(){
        return new RedirectView("login.html");
    }

}
